package com.shuma.shopmanage.draftmodule.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shuma.shopmanage.model.draft.model.NonDeliverableCityDraft;
import com.shuma.shopmanage.draftmodule.mapper.NonDeliverableCityDraftMapper;
import com.shuma.shopmanage.draftmodule.service.NonDeliverableCityDraftService;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class NonDeliverableCityDraftServiceImpl extends ServiceImpl<NonDeliverableCityDraftMapper, NonDeliverableCityDraft>  implements NonDeliverableCityDraftService {

    @Override
    public void removeByGoodsDraftId(Long goodsDraftId) {
        HashMap<String, Object> map = new HashMap<>();
        map.put("goodsDraftId", goodsDraftId);
        removeByMap(map);

    }
}